#include  <stdio.h>
#include <stdlib.h>
#include <string.h>

main (int argc , char  *argv[] )
{
	char  *p ;
	int i=0;
	
        p=argv[1];
	
	int check_passwd = strlen(p);
 
	if( (check_passwd == 5)|| (check_passwd == 13)||(check_passwd == 16) )
	{
		for(i=0;i<check_passwd;i++)
		{
			printf("%x", p[i]);
		}
	}
	else
		printf("%s",argv[1]);

}
